import request from '@/utils/request'

// 获取研发管理-项目列表
export function getRepaymentProjectList(query) {
  return request({
    url: '/develop/project/list',
    method: 'get',
    params: query
  })
}

// 获取研发管理-新增修改项目
export function saveRepaymentProject(query) {
  return request({
    url: '/develop/project/save',
    method: 'post',
    data: query
  })
}

// 获取研发管理-获取项目详情
export function getRepaymentProjectInfo(projectId) {
  return request({
    url: '/develop/project/get/' + projectId,
    method: 'get'
  })
}

// 获取研发管理-删除项目
export function delRepaymentProject(projectId) {
  return request({
    url: '/develop/project/delete/' + projectId,
    method: 'post'
  })
}
